package com.bdk.middle.management.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 用户登录表
 * </p>
 *
 * @author Reagan
 * @since 2021-01-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_admin")
public class AdminEntity implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    @TableField("username")
    private String username;

    @TableField("password")
    private String password;

    @TableField("create_date")
    private Date createDate;

    @TableField("modifi_date")
    private Date modifiDate;

    @TableField("creator")
    private String creator;

    @TableField("modifier")
    private String modifier;

    /**
     * 0.锁定1.有效
     */
    @TableField("status")
    private Integer status;

    /**
     * -1 删除 1 有效\n            
     */
    @TableField("is_delete")
    private Integer isDelete;


}
